@import url('https://fonts.googleapis.com/css2?family=Roboto&family=Ubuntu&display=swap');

@media only screen and (min-width: 2001px) { 
    .maincontain { max-width: 100%; min-height: 50%; }
    .contain { width: 95%; min-height: 50%; }
    .youtube-video { width: 70%; }
    #msgs { width: 98%; }
    #navcontainer { width: 170px; }
}    


@media only screen and (min-width: 700px) {
    .maincontain { max-width: 100%; min-height: 50%; }
    .contain { width: 95%; min-height: 50%; }
    .youtube-video { width: 70%; }
    #msgs { width: 98%; }
    #navcontainer { width: 170px; }
}

html, body {
	background-color: #d5d5d5;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
	background-image: url('data/bg.jpg');
	color: #e3e3e3;
    font-size: 20px;
	margin: 0 auto;
	font-family: "Ubuntu", "Roboto", sans-serif;
	padding-bottom: 40px;
}

p {
	font-size: 22px;
}

h1 {
	font-size: 40px;
}

h2 {
	font-size: 34px;
}

h3 {
	font-size: 28px;
}

h4 {
	font-size: 28px;
}

.title {
	font-size: 26px;
	text-align: center;
	padding: 8px;
}

.date {
	font-size: 14px;
	padding-left: 8px; 
	color: #808080;
}

/* Style The Dropdown Button */
.dropbtn {
  font-family: "Ubuntu", "Roboto", sans-serif;
  background-color: #212121;
  color: white;
  padding: 12px 16px; 
  font-size: 24px;
  border: none;
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 16px 20px;
  text-decoration: none;
  display: block;
}

#navbar, .dropdown {
	margin: 0 auto;
	background-color: #212121;
	padding: 2px;
    position: relative;
    display: inline-block;
}

#navbar a, .dropdown a {
	font-family: "Ubuntu", "Roboto", sans-serif;
    background-color: #212121;
	font-size: 24px;
	padding: 16px 20px;
	color: #5577ff;
}

#navbar a:hover {
    text-decoration: none;
	color: #99aaff;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #212121;
}



#footer {
    background-color: #121212;
    border-radius: 0 0 8px 8px;
    padding-top: 2px;
    padding-bottom: 2px;
    text-align: center;
    color: #dddddd;
    width: 100%;
}

.notifications {
    font-size: 1.2em;
    padding: 0px;
    margin: 0;
    border-collapse: collapse;
}

textarea {
	background-color: #222222;
	border-radius: 10px;
	border: 1px solid #323232;
	font-family: "Roboto Sans", Ubuntu, sans-serif;
	outline: none;
	resize: none;
	color: #d7d7d7;
	width: 98%;
	padding: 4px;
}

.dllink {
	margin: 0 auto;
	width: 100%;
	text-align: center;
}

input[type="file"] {
	display: none;
}

input, button, select, label {
	background-color: #222222;
	border: solid 1px #323232;
	outline: none;
	border-radius: 6px;
	color: #d7d7d7;
	padding: 6px; 
    padding-left: 12px;
    padding-right: 12px;
	font-size: 22px;
}

.input-upload {
	display: inline-block;
	cursor: pointer;
	padding: 4px;
}

.button {
	background-color: #222222;
	border: solid 1px #323232;
	text-align: center;
	outline: none;
	border-radius: 4px;
	color: #d7d7d7;
	margin: auto;
	padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
	display: inline-flex;
	cursor: pointer;
}

.avatar {
	border-radius: 50%;
	background: 50% 50% no-repeat; /* 50% 50% centers image in div */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	object-fit: cover;
	width: 180px;
 	height: 180px;
}

.avatar_small {
        border-radius: 50%;
        background: 50% 50% no-repeat; /* 50% 50% centers image in div */
		background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        object-fit: cover;
        width: 56px;
        height: 56px;
}

.avatar_chat {
        border-radius: 50%;
        background: 50% 50% no-repeat; /* 50% 50% centers image in div */
	background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        object-fit: cover;
        width: 28px;
        height: 28px;
}

#msgbox {
	display: block;
	margin: 0 auto;
    width: 98%;
}

.message {
	padding: 6px;
	border-radius: 5px 11px 11px;
	background-color: #2255ff;
    margin: 2px;
	color: #ffffff;
	overflow-wrap: break-word;
}

#msgs { 
	background: #222222;
	border-radius: 5px; 
	border: solid 1px #323232;
	padding: 6px;
	height: 400px;
	font-size: 20px;
	overflow-y: scroll;
}

.replycontain {
	margin: 0 auto;
    padding: 10px;
}

.attachment {
	/*max-height: 250px;*/
	display: block;
	margin: 0 auto;
	padding: 6px;
	border-radius: 5px;
	border: solid 1px #424242;
	background-color: #333333;
}

.attachment img {
	max-width: 400px;
	margin: 0 auto;
	display: block;
	max-height: 600px;
}

.attachment_chat {
	max-width: 280px;
	margin: 0 auto;
	display: block;
	max-height: 200px;
}

.page-controls {
	text-align: center;
}

.post {
	padding: 6px;
	border-radius: 5px;
	border: solid 1px #424242;
	background-color: #333333;
	color: #ffffff;
	font-size: 20px;
    overflow-x: hidden;
}

.post-footer {
	font-size: 20px;
	padding-top: 10px;
	border-top: solid 1px #424242;
}

.reply {
	background-color: #222222;
	border-radius: 4px 10px 10px;
	border: solid 1px #323232;
	padding: 6px;
	color: #d7d7d7;
}

.reply_content {
    font-size: 20px;
    padding: 6px;
}

.reacts {
	position: relative;
	display: inline-block;
}

.react-list {
	color: #cccccc;
	display: none;
	font-size: 14px;
	position: absolute;
	max-width: 160px;
	background-color: #222222;
	border: solid 1px #434343;
	border-radius: 4px;
	padding: 5px;
}

.reacts:hover .react-list {
	display: block;
}

a {
	color: #5577ff;
	text-decoration: none;
}
a:hover {
	color: #aabbff;
	text-decoration: none;
}
.contain {
	background-color: #121212;
	margin: 0 auto;
	padding: 5px;
    border-radius: 0 8px 0 0;
}

.friendslist {
	padding: 4px;
	text-align: center;
}

.friendslist tr,td {
	padding-left: 10px;
	padding-right: 10px;
}

.friendslist a {
	display: inline-block;
	text-align: center;
	width: 160px;
}

.maincontain {
	margin: 0 auto;
    border: solid 1px #343434;
    background-color: #212121;
    border-radius: 8px;
    box-shadow: 0px 0px 15px 5px #121212;
}
